package com.fyy.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.fyy.service.IUserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author fyy
 * @Description
 * @Date 2020/7/22 11:08
 */
@RestController
public class UserController {

    @Reference
    private IUserService userService;

    @GetMapping("/getAllUser")
    public Object getUserAll(){
        return userService.queryUserAll();
    }

}
